<script language="javascript">
    seajs.use("apps/lab/job", function(page){
        page.init("${pageContext.request.contextPath}", "page-wrapper", {
            processId:"${processTemplate.id}",
            hasDevice:"${processTemplate.useDevice eq 1 and not empty processTemplate.device ? 1 : 0}",
            userName:"${loginUser.userName}",
            userId:"${loginUser.id}"
        });
    })
</script>